#include "Face.h"


Face::Face(int newX,int newY,int newZ,GLUquadricObj *newP)
{
	this->x = newX;
	this->y = newY;
	this->z = newZ;
	this->p = newP;
	this->HIP_BASE_RADIUS = 0.5;
	this->HIP_TOP_RADIUS = 0.2;
}

void Face::DrawHip()
{
	glPushMatrix();
	 glColor3f(0.3, 0.8, 1.0);
	 glTranslatef(this->x,this->y,this->z);
	 glRotatef(this->Anglecord.angle, this->Anglecord.xAngle,this->Anglecord.yAngle,this->Anglecord.zAngle);
	 gluCylinder(p,this->HIP_BASE_RADIUS,this->HIP_TOP_RADIUS,3,5,5);
	 glutPostRedisplay();
	glPopMatrix();
}

Face::~Face(void)
{
}
